package dao

import (
	"gitee.com/youbeiwuhuan/gin-practice/go-gorm2/dao/model"
	gorm_v2 "gitee.com/youbeiwuhuan/gin-practice/go-gorm2/gormv2"
	"gorm.io/gorm"
)

type UserDao struct {
	gorm_v2.IBaseDao[model.User]
}

func NewUserDao(db0 *gorm.DB) *UserDao {

	return &UserDao{
		gorm_v2.NewBaseDao[model.User](db0),
	}

}
